Travelpayouts\components\validators\Validator S

Total Complexity 49
Dependencies 8
Dependents 1
Total lines 339
Lines of code 132
Logical lines of code 77
Comment lines 136
Methods 15
Properties 10

Methods 15

Method Rating Maintainability Complexity Lines of code
validateAttributes()
S
60 8 12
createValidator()
S
54 6 21
getValidationAttributes()
S
59 5 16
addError()
S
59 5 14
getAttributes()
S
61 4 13
isEmpty()
S
69 4 6
formatMessage()
S
67 3 7
attributes()
S
64 3 10
isActive()
S
76 3 3
validateAttribute()
S
69 2 6
setAttributes()
S
63 2 10
__construct()
S
77 1 4
init()
S
91 1 2
validateValue()
S
79 1 3
getAttributeNames()
S
73 1 5